package com.yonyou.cyxdms.basedata.service.dto.salestaskset;

import com.yonyou.cyxdms.framework.bean.dto.base.DMSBaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 *  销售顾问 - 销售目标设置DTO
 * </p>
 * @author：chenzb
 * @since：2019-11-17
 */
@ApiModel(value = "SalesTaskSetDTO", description = "设置销售顾问销售任务目标——DTO")
public class SalesTaskSetDTO extends DMSBaseDTO implements Serializable {


    /**
     * 任务ID
     */
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /**
     * 销售组ID
     */
    @ApiModelProperty(value = "orgId-销售组")
    private String orgId;

    /**
     * 考核年
     */
    @ApiModelProperty(value = "checkDate-考核年月")
    private String checkDate;

    /**
     * 销售顾问Id
     */
    @ApiModelProperty(value = "销售顾问ID")
    private String consultantId;

    /**
     * 任务量（总台次）
     */
    @ApiModelProperty(value = "销售任务量——台次")
    private Integer taskCount;

    /**
     * 金融（渗透率）
     */
    @ApiModelProperty(value = "金融（渗透率）")
    private Double financialRatio;

    /**
     * 保险（渗透率）
     */
    @ApiModelProperty(value = "保险（渗透率）")
    private Double insuranceRatio;

    /**
     * 精品（金额） -> 装潢金额 renovationAmount
     */
    @ApiModelProperty(value = "精品（金额）")
    private Double renovationAmount;

    /**
     * 上牌（渗透率）
     */
    @ApiModelProperty(value = "上牌（渗透率）")
    private Double licenceRatio;

    /**
     * APP_ID
     */
    @ApiModelProperty(value = "APP_ID",hidden = true)
    private String appId;

    /**
     * 公司代码
     */
    @ApiModelProperty(value = "公司代码",hidden = true)
    private String companyCode;
    /**
     * 所有者代码
     */
    @ApiModelProperty(value = "所有者代码",hidden = true)
    private String ownerCode;

    /**
     * 所有者的父组织代码（用于二网使用）
     */
    @ApiModelProperty(value = "所有者的父组织代码用于二网使用",hidden = true)
    private String ownerParCode;

    /**
     * 是否删除
     */
    @ApiModelProperty(value = "是否删除,是1 否0")
    private Integer isDeleted;

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(String checkDate) {
        this.checkDate = checkDate;
    }

    public String getConsultantId() {
        return consultantId;
    }

    public void setConsultantId(String consultantId) {
        this.consultantId = consultantId;
    }

    public Integer getTaskCount() {
        return taskCount;
    }

    public void setTaskCount(Integer taskCount) {
        this.taskCount = taskCount;
    }

    public Double getFinancialRatio() {
        return financialRatio;
    }

    public void setFinancialRatio(Double financialRatio) {
        this.financialRatio = financialRatio;
    }

    public Double getInsuranceRatio() {
        return insuranceRatio;
    }

    public void setInsuranceRatio(Double insuranceRatio) {
        this.insuranceRatio = insuranceRatio;
    }

    public Double getRenovationAmount() {
        return renovationAmount;
    }

    public void setRenovationAmount(Double renovationAmount) {
        this.renovationAmount = renovationAmount;
    }

    public Double getLicenceRatio() {
        return licenceRatio;
    }

    public void setLicenceRatio(Double licenceRatio) {
        this.licenceRatio = licenceRatio;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getOwnerCode() {
        return ownerCode;
    }

    public void setOwnerCode(String ownerCode) {
        this.ownerCode = ownerCode;
    }

    public String getOwnerParCode() {
        return ownerParCode;
    }

    public void setOwnerParCode(String ownerParCode) {
        this.ownerParCode = ownerParCode;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "SalesTaskSetDTO{" +
                "taskId=" + taskId +
                ", orgId='" + orgId + '\'' +
                ", checkDate='" + checkDate + '\'' +
                ", consultantId=" + consultantId +
                ", taskCount=" + taskCount +
                ", financialRatio=" + financialRatio +
                ", insuranceRatio=" + insuranceRatio +
                ", renovationAmount=" + renovationAmount +
                ", licenceRatio=" + licenceRatio +
                ", appId='" + appId + '\'' +
                ", companyCode='" + companyCode + '\'' +
                ", ownerCode='" + ownerCode + '\'' +
                ", ownerParCode='" + ownerParCode + '\'' +
                ", isDeleted='" + isDeleted + '\'' +
                '}';
    }
}
